package com.zhengshang.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 平台返佣对象 manage_platform_rebate
 * 
 * @author zhengshang
 * @date 2021-03-18
 */
public class PlatformRebate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 返利平台编码 */
    @Excel(name = "返利平台编码")
    private String platformCode;

    /** 返利时间 */
    @Excel(name = "返利时间")
    private String rebateDate;

    /** 返利金额 */
    @Excel(name = "返利金额")
    private BigDecimal rebateMoney;

    /** 发票URL地址 */
    @Excel(name = "发票URL地址")
    private String invoiceUrl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlatformCode(String platformCode) 
    {
        this.platformCode = platformCode;
    }

    public String getPlatformCode() 
    {
        return platformCode;
    }
    public void setRebateDate(String rebateDate) 
    {
        this.rebateDate = rebateDate;
    }

    public String getRebateDate() 
    {
        return rebateDate;
    }
    public void setRebateMoney(BigDecimal rebateMoney) 
    {
        this.rebateMoney = rebateMoney;
    }

    public BigDecimal getRebateMoney() 
    {
        return rebateMoney;
    }
    public void setInvoiceUrl(String invoiceUrl) 
    {
        this.invoiceUrl = invoiceUrl;
    }

    public String getInvoiceUrl() 
    {
        return invoiceUrl;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("platformCode", getPlatformCode())
            .append("rebateDate", getRebateDate())
            .append("rebateMoney", getRebateMoney())
            .append("invoiceUrl", getInvoiceUrl())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
